package indi.h.devmg.acquisition.snmp.mib.configs;

import java.util.HashMap;
import java.util.Map;

public class OIDConfig {

	public Map<String, String> oidMap;

	public OIDConfig() {
		oidMap = new HashMap<>();
		oidMap.put("mib-2", "1.3.6.1.2.1");
		oidMap.put("experimental", "1.3.6.1.3");
		oidMap.put("transmission", "1.3.6.1.2.1.10");
		oidMap.put("mgmt", "1.3.6.1.2");
		oidMap.put("iso", "1");
		oidMap.put("enterprises", "1.3.6.1.4.1");
		oidMap.put("snmpModules", "1.3.6.1.6.3");
		oidMap.put("snmpDomains", "1.3.6.1.6.1");
		oidMap.put("statistics", "1.3.6.1.2.1.16.1");
		oidMap.put("rmon", "1.3.6.1.2.1.16");
		oidMap.put("statistics", "1.3.6.1.2.1.16.1");
		oidMap.put("ucdExperimental", "1.3.6.1.4.1.2021.13");
		oidMap.put("ucdavis", "1.3.6.1.4.1.2021");
	}

	public String getOid(String name) {
		return oidMap.get(name);
	}

	public void putOid(String name, String oid) {
		oidMap.put(name, oid);
	}

	public boolean contain(String name) {
		return oidMap.containsKey(name);
	}

	public Map<String, String> getMap() {
		return oidMap;
	}

}
